Speci cation
نویسندگان
چکیده
The basic components of any speciication language include: constructs for specifying the properties of individual program components such as types and functions; structuring mechanisms for building large speciications in a modular fashion; a description of the semantics of the language; mechanisms for performing proofs of properties of speciications; a notion of reenement of speciications; and a way of relating speciications to programs written in a programming language. These topics are discussed in other chapters of this book, and in each case there are various alternatives to choose from. To take a simple example, the properties of functions may be speciied using equations or using rst-order (or even higher-order) formulas as axioms. A speciication language is a commitment to a compatible combination of these choices. It is a commitment because the syntax of a speciication language determines once and for all what can be expressed and what cannot be expressed. For example, the syntax of formulas determines how the properties of functions are speciied; similarly, a construct for hiding types and/or functions may or may not be included. The choices must be compatible in various respects. On one hand, certain combinations of choices simply make no sense; for instance, initial semantics requires the use of axioms no more complex than conditional equations. More subtly, the inclusion of certain structuring mechanisms complicates the process of proving properties of speciications and so these might be omitted or restricted in a language in which proofs are of primary importance. There is no single best combination of choices because this depends on many factors including the intended context of use and the range of applications to be addressed. Consequently, this chapter will consider the rationale for choosing between the various alternatives available. The technical details of these alternatives are given in other chapters for the most part and will not be repeated here. The next section is devoted to a brief overview of some existing speciica-tion languages. Section 8.3, which forms the bulk of the chapter, discusses the
منابع مشابه
Static and Dynamic Speci cation Slicing
A speci cation slice is a projection of a formal speci cation, which is simpler and potentially more comprehensible than the original speci cation. A static speci cation slice contains speci cations that might restrict the value of a variable. A dynamic speci cation slice consists of speci cations that actually a ect the value of a variable along the sequence of operations performed. Dynamic sp...
متن کاملSuperposing UML class diagrams
There is a close connection between superposition-based design and aspect-orientation [6, 7, 10]. In [11] three steps were identi ed when composing modules describing overlapping concerns: matching units describing the same concepts, reconciliation of their possible di erences, and integration of the units. These problems, as well as many concerning distribution, have already been studied in th...
متن کاملSpectur | A Speci cation Language for the Programmer
Spectur (Speci cation language after Turing) has been designed as a language for formal speci cation. The goals of the language include: ease of use by a speci er to write a software system speci cation from an informal description; ease of use by an implementor to build a program from a speci cation; ease of understanding by a user as documentation; ease of use by a mathematician to prove prog...
متن کاملFormal Requirements Speci cation for Command and Control Systems
This paper presents an approach to formal requirements speci cation of embedded systems. The speci c demands of a speci cation for command and control systems are addressed. The proposed method allows various views of a system, like conventional methods. The added value lies in the fact that the relationship between the views is speci ed formally, and consistency between views can be analyzed f...
متن کاملThe SDL Speci cation of the Sliding Window Protocol Revisited
This paper is a corrigendum to the SDL speci cation of the sliding window protocol which was rst published by the ISO IEC as a technical report We present some results of a tool supported simulation of the SDL speci cation of the sliding window protocol We found out that the speci cation contains signi cant errors and does not meet the informal description of the protocol In this paper we descr...
متن کاملHierarchical Speci cation and Veri cation of Architectural Design Patterns
Architectural design patterns capture architectural design experience and provide abstract solutions to recurring architectural design problems. Their description is usually expressed informally and it is not veri ed whether the proposed speci cation indeed solves the original design problem. As a consequence, an architect cannot fully rely on the speci cation when implementing a pattern to sol...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999